package com.welike.shibo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.welike.shibo.eneity.Msg;
import org.apache.ibatis.annotations.Param;

/**
 * Created by fangyu on 2019-08-18.
 */
public interface MsgMapper extends BaseMapper<Msg> {

    IPage<Msg> queryAllByUserIdOrderByCreateTimeDesc(Page page, @Param("userId")String userId);

}